import request from '../utils/require'

/** 请求示例 */
// get
export function getUser (data: any){
    return request({
        url:'user/list',
        method:'get',
        params:data
    })
}

// post
export function editUser (data: any){
    return request({
        url:'user/edit',
        method:'post',
        data
    })
}
